<?php
use think\Route;

//Route::group('api', function () {
//    Route::group('v1', function () {
//        Route::get('city2/', 'City/lists');
//        Route::get('city/read/:id', 'api/v1/City/read');
//        Route::post('sms/send', 'api/controller/v1/Sms/send');
//        Route::post('upload/upload', 'admin/controller/upload/upload');
//        Route::post('user/login', 'api/v1/User/login');
//        Route::get('school2/lists', 'admin/controller/school/school/lists');
//    });
//});

Route::rule('/api2/', function () {
    return json(['message' => 'Welcome to FastAdmin API333']);
});





